#include <reg52.h>

typedef   signed            char int8_t;
typedef   signed short      int int16_t;
typedef   signed            long  int32_t;

typedef unsigned            char uint8_t;
typedef unsigned short      int uint16_t;
typedef unsigned            long  uint32_t;

#define bool uint8_t

#define true  1
#define false 0

#define TRUE true
#define FALSE false

#ifndef NULL
#define NULL  (void *)0
#endif 

#ifndef null
#define null NULL
#endif
